<?php
declare(strict_types=1);

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class YikaoSpecialDetail extends Model
{
    protected $table = 'yikao_special_detail';
    protected $primaryKey = 'id';
    public $timestamps = false;

    protected $fillable = [
        'xyq_id',
        'special_id',
        'name',
        'code',
        'level1',
        'level1_name',
        'level2',
        'level3',
        'degree',
        'limit_year',
        'content',
        'course',
        'do_what',
        'learn_what',
        'job',
        'jobdetail',
        'skill',
        'celebrity',
        'continue_exp',
        'is_what',
        'sel_adv',
        'status',
        'e_status',
        'senior_status',
        'is_cancel',
        'type',
        'type_detail',
        'tag',
        'direction',
        'samename',
        'samenamearr',
        'rate',
        'rate2',
        'salaryavg',
        'mostemploymentarea',
        'mostemploymentindustry',
        'mostemployedeposition',
        'jobbsgs',
        'action_type',
        'action_special',
        'heat',
        'impress',
        'jobrate',
        'professionalsalary',
        'specialschool',
        'video',
        'bxtj_myd',
        'bxtj_myd_vote_num',
        'jxzl_myd',
        'jxzl_myd_vote_num',
        'jy_myd',
        'jy_myd_vote_num',
        'zh_myd',
        'zh_myd_vote_num',
    ];

    protected $casts = [
        'action_special' => 'array',
        'heat' => 'array',
        'impress' => 'array',
        'jobrate' => 'array',
        'jobdetail' => 'array',
        'professionalsalary' => 'array',
        'specialschool' => 'array',
        'video' => 'array',
        'samename' => 'array',
        'samenamearr' => 'array'
    ];
}
